public class ASTMethodDeclaration extends SimpleNode {
        private String result;
        private String name;
        private int tupleType;
  public ASTMethodDeclaration(int id) {
    super(id);
  }

  public ASTMethodDeclaration(JavaRolePreCompiler p, int id) {
    super(p, id);
  }


  /** Accept the visitor. **/
  public Object jjtAccept(JavaRolePreCompilerVisitor visitor, Object data) {
    return visitor.visit(this, data);
  }
 
  public void setResult(String r){
          result=r;
  }
  public String getResult(){
          return result;
  }
  public void setTupleType(int t){//enum would be better
          tupleType=t;
  }
 
  public int getTupleType(){
          return tupleType;
  }
 
  public void setName(String name){
          this.name=name;
  }
 
  public String getName(){
          return name;
  }
 
}
